package cn.achao.csr.zfb.service;

import cn.achao.csr.api.model.resp.AliUserInfoResp;
import cn.achao.csr.base.resp.R;

/**
 * @Author: achao
 **/
public interface AliLoginService {


    /**
     * 获取支付宝用户信息
     *
     * @param authCode
     * @return
     */
    AliUserInfoResp.AlipayUserInfoShareResponseDTO getUserInfo(String authCode);

    /**
     * 通知系统登录|授权
     */
    R<?> notifyAuth(AliUserInfoResp.AlipayUserInfoShareResponseDTO userInfo, String state);

}
